﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GalaSoft.MvvmLight;

namespace MVVMMaker.Model
{
    public class Property : ObservableObject
    {
        private string _Type;
        private bool _NotifyOnChange;
        private string _Name;

        public string Type
        {
            get
            {
                return _Type;
            }
            set
            {
                _Type = value;
                RaisePropertyChanged("Type");
            }
        }
        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                _Name = value;
                RaisePropertyChanged("Name");

            }
        }
        public bool NotifyOnChange
        {
            get
            {
                return _NotifyOnChange;
            }
            set
            {
                _NotifyOnChange = value;
                RaisePropertyChanged("NotifyOnChange");

            }
        }
    }
}
